<!DOCTYPE html>
<html lang="en">
<head>
    <title>11</title>
</head>
<body>
<div id="div1">
    VIP1_1
</div>
<form action="/form" method="post">
    <label>
        <input type="text" name="name">
    </label><br>
    <input type="submit" value="提交">
</form>
<script type="text/javascript">
    let text = document.getElementById("div1").innerText;
    alert(text);
</script>
</body>
</html>